<div class="gallery">
{{if gallery_nav.length}}
<div class="gallery-tree-header">{{!tree}}</div>
<div class="gallery-nav">
{{foreach item in gallery_nav}}
<div class="nav-item">
	<div><a href="{{action}}{{item.id}}/"><img src="{{preview(2):item.image_url}}"/></a></div>
	<a href="{{action}}{{item.id}}/">{{item.name}}</a>
</div>
{{/foreach}}
<div style="clear: both;"></div>
</div>
{{/if}}
{{if gallery_images}}{{if gallery_images.length}}
	<div class="gallery-image"><span><img class="gallery-easy-img" src="/shared/empty.gif"/></span></a></div>
	<div class="underimage">
	{{foreach img in gallery_images}}
	<div class="img"><img id="ge-{{img.id}}" class="gallery-easy-press" src="{{preview(2):img.image_url}}" alt="{{img.name}}" /></div>
	{{/foreach}}
	<div class="cl"></div>
	</div>
{{/if}}{{/if}}
</div>
<script>
gallery_easy_init(".gallery-easy-press",".gallery-easy-img","-preview3");
//document.location.hash='gal-{{fields.file_id}}';
</script>
